<template>
  <div class="base-panel">
    <!-- 头部 -->
    <div class="header">
      <slot name="header"></slot>
    </div>
    <!-- 内容 -->
    <div class="main">
      <slot name="main"></slot>
    </div>
  </div>
</template>

<script lang="ts">
import { Vue, Component } from "vue-property-decorator";
@Component({
  name: "BasePaenl"
})
export default class extends Vue {}
</script>

<style lang="scss" scoped>
.base-panel {
  margin: 5px 0;
  width: 428px;
  .header {
    width: 428px;
    height: 38px;
    background-image: url(../../assets/images/panels/zhubiaotibeijingkuangzuo.png);
    background-size: 100% 100%;
    padding: 5px 0 0 40px;
    font-family: AlibabaPuHuiTi_2_85_Bold;
    font-size: 18px;
    font-style: italic;
    color: #ffffff;
  }
  .main {
    width: 428px;
    position: relative;
    background-image: linear-gradient(0deg, #001022 0%, #011e3f 100%);
    padding: 15px 12px;
  }
}
</style>
